
//*********************************************
//  This is Template of Cosmic Ray Generator
//                                  author:Ruiting
//

#ifndef _GPSFromMAC_H_
#define _GPSFromMAC_H_

#include "G4ThreeVector.hh"
#include "G4Types.hh"
#include "G4String.hh"
#include "G4PrimaryVertex.hh"
#include "G4PrimaryParticle.hh"
#include "MyBaseGen.hh"
#include "G4GeneralParticleSource.hh"

#include <vector>
#include <string>
#include <memory>

class GPSFromMAC: public MyBaseGen
{
public:
    GPSFromMAC();
    ~GPSFromMAC();

    void Initialize(YAML::Node);
    void GeneratePrimaryVertex(G4Event*);
    inline G4bool IfNeedPolPhot(){return false;}

private:
    G4GeneralParticleSource *m_GPS;
};

#endif